package io.xxx.xbutler.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 机器人入群记录
 * <p>
 * 当机器人没有入群时需要检查该记录
 */
@Data
@Accessors(chain = true)
public class RobotJoinRoomRecord {

    @TableId
    private Long id;

    private String serialNo;

    private String robotId;

    private String robotSerialNo;

    private String roomName;

    private String base64RoomName;

    private String inviterId;

    private String inviterSerialNo;

    private String riskCode;

    private String riskReason;

    /**
     * 限制的到期时间（只有当风控类型是今日入群上限和连续天数上限时此字段才会有值）
     */
    private LocalDateTime limitTime;

    private LocalDateTime createdTime;
}
